<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: LR0602
  Date: 2021/11/18
  Time: 20:09
  To change this template use File | Settings | File Templates.
--%>
<%--
logo部分内容
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>logo</title>

    <style>
        #id1{
            margin: 0 700px 0 0;
            text-decoration: none;
        }
        #out{
            color: chartreuse;
            margin: 0 0 0 30px;
            text-decoration: none;
        }
    </style>
</head>
<body>

<span style="float: right;margin: 0 0 30px 0">
    <c:if test="${not empty admin}">
        <div id="id1">
            <a href="#">${admin.adminname}欢迎登录</a><br>
            <a href="#" id="out">退出</a>
        </div>
    </c:if>
    <c:if test="${empty admin}">
        <a href="#">登录</a>
    </c:if>

</span>
</body>
</html>
